package com.ruoyi.project.pro.texture.service;

import com.ruoyi.project.pro.texture.domain.ProTexture;

import java.util.List;

/**
 * @program: zhizun
 * @author: Mrs.ye
 * @create: 2020-09-17 14:19
 * @description:
 **/
public interface ITextureService {



    /**
     * @program: zhizun
     * @author: Mrs.ye
     * @create: 2020-09-16 22:22
     * @description: 产品风格管理的service层
     **/



        /**
         * 分页查询产品风格
         * @return
         */
        public List<ProTexture> selectTexture(ProTexture proTexture);

        /**
         * 检验产品风格名称是否唯一
         * @param proTexture
         * @return
         */
        String checkTextureNameUnique(ProTexture proTexture);

        /**
         * 新增产品风格
         * @param proTexture
         * @return
         */
        int insertProTexture(ProTexture proTexture);

        ProTexture selectTextureById(Long styleId);

        int updateTexture(ProTexture proTexture);
        int removeProTextureById(Long[] ids);



}
